//
//  DzAuthorizationHelper.h
//  dzyc
//
//  Created by 吴斌 on 2024/6/18.
//

#import <Foundation/Foundation.h>

NS_ASSUME_NONNULL_BEGIN
typedef NS_ENUM(NSUInteger, DzAuthorizationStatus) {
    DzAuthorizationAuthorized,        // 已授权
    DzAuthorizationDenied,            // 拒绝
    DzAuthorizationRestricted,        // 应用没有相关权限，且当前用户无法改变这个权限，比如:家长控制
    DzAuthorizationNotSupport         // 硬件等不支持
};
@interface DzAuthorizationHelper : NSObject
+(DzAuthorizationHelper*)defaultManager;
//定位权限
+ (void)requestLocationAuthorization:(void(^)(DzAuthorizationStatus status))callback;
@end

NS_ASSUME_NONNULL_END
